package com.hqins.app.cloud.feignclient;

import com.hqins.app.cloud.common.ResponseObject;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class HelloServiceHiHystric implements HelloService{
    @Resource
    ResponseObject responseObject;
    @Override
    public ResponseObject sayHiFromClientOne(String name) {
        responseObject.setSuccess(false);
        responseObject.setStatus(404);
        responseObject.setMessage("SERVICE-HI Not Found");
        return responseObject;
    }
}
